package edu.sctu.zhengsenwen.month201506.day20150614.lock;

/**
 * Created by user15 on 2015/6/15.
 */
public class GetClass extends Thread {

    private SynchronizingClass shareClass;

    public GetClass(SynchronizingClass synchronizingClass) {

        shareClass = synchronizingClass;
    }

    public void run() {


        for (int i = 0; i < 10; i++) {

            shareClass.get();
        }
    }
}
